package com.zhike.common.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

@TableName("zhike_users_feedback")
@Data
public class Feedback implements Serializable {

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(name = "type", value = "举报类型")
    private String type;

    @ApiModelProperty(name = "content", value = "情况说明")
    private String content;

    @ApiModelProperty(name = "nickname", value = "昵称")
    private String userId;

    @ApiModelProperty(name = "tel", value = "联系方式")
    private String tel;

    @ApiModelProperty(name = "imgs", value = "图片 ")
    private String imgs;

    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;


}
